//
//  CJCodeView.swift
//  CJPack
//
//  Created by 陈警卫 on 2024-05-21.
//

import UIKit
import Foundation


class CJCodeView: UIView {
    
    var codeTF: UITextField!
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        setupView()
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func setupView() {
        codeTF = UITextField(frame: CGRect(x: 0, y: 0, width: cj_width, height: 40))
        addSubview(codeTF)
        
        codeTF.defaultTextAttributes = [.font : UIFont.systemFont(ofSize: 40, weight: .bold), .foregroundColor: UIColor.black, .kern: 30]
        
    }
    
}
